﻿#include "matrixmenuform.h"
#include "ui_matrixmenuform.h"

MatrixmenuForm::MatrixmenuForm(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::MatrixmenuForm)
{
    ui->setupUi(this);
    this->setWindowFlags(Qt::FramelessWindowHint);
}

MatrixmenuForm::~MatrixmenuForm()
{
    delete ui;
}
void MatrixmenuForm::setFCname(QString name)
{
   ui->FCname->setText(name);
}
void MatrixmenuForm::setFJname(QString name)
{
    ui->FJname->setText(name);
}
void MatrixmenuForm::setFJwind(QString wind)
{
    ui->FJwind->setText(wind);
}
void MatrixmenuForm::setFJpower(QString power)
{
   ui->FJpower->setText(power);
}

void MatrixmenuForm::on_startButton_clicked()
{
    emit startButton();

}

void MatrixmenuForm::on_stopButton_clicked()
{
    emit stopButton();
}

void MatrixmenuForm::on_resetButton_clicked()
{
    emit resetButton();

}

void MatrixmenuForm::on_repairButton_clicked()
{
    emit repairButton();
}

void MatrixmenuForm::on_unRepairButton_clicked()
{
    emit unrepairButton();
}
